﻿namespace RaptorEngine.Components
{
	public enum ComponentType
	{
		Collidable = 0,
		Movable,
		Drawable2D,
		Drawable3D,
		Controllable,
        AIComponent,
		Particle
	}

	public abstract class Component
	{
	    public bool Networkable;

		private Entity _entity;
		public Entity Entity {
			get { return _entity; }
		}

        protected ComponentType _componentType;
        public ComponentType ComponentType
        {
            get { return _componentType; }
        }
		
		public Component(Entity entity, ComponentType type)
		{
            _entity = entity;
			_componentType = type;
		}

	}
}
